//
//  UIButton+ACCountDown.h
//  ACFramework
//
//  Created by caoyq on 2018/11/22.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIButton (ACCountDown)

/**
 按钮上添加倒计时.

 @param duration  倒计时的持续时间
 @param waitTitle 等待时显示的文字（最终样式：剩余时间 + waitTitle）
 @param completion 结束后的回调
 */
- (void)ac_addCountDownWithDuration: (NSInteger)duration waitTitle: (NSString *)waitTitle completion:(void (^)(void))completion;

@end

NS_ASSUME_NONNULL_END
